package com.example.administrator.myproject.user

import android.content.Intent
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import com.example.administrator.myproject.App
import com.example.administrator.myproject.R
import com.example.administrator.myproject.login.login22
import kotlinx.android.synthetic.main.my_information_login.*
import kotlinx.android.synthetic.main.my_information_login.view.*


class MerchantFragment : Fragment(), View.OnClickListener {

    var temp : Int? =null
    override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
        var application: App = activity!!.application as App
        val view = inflater.inflate(R.layout.merchant_main, container, false)

//        textview!!.setText()

        return view
    }

    override fun onClick(p0: View?) {
        TODO("Not yet implemented")
    }

//
//    override fun onResume() {
//        super.onResume()
//        val s2 = SPUtils[activity!!, "money", ""] as String?
//        money!!.text = s2
//    }
//
//    override fun onClick(view: View) {
//        val intent = Intent()
//        intent.setClass(activity!!, AssessList::class.java)
//        activity!!.startActivity(intent)
//    }
}
